.ml-5 {
  margin-left: 10rpx !important;
}

.ml-11 {
  margin-left: 22rpx;
}

.mt-17 {
  margin-top: 93rpx;
}

.mt-23 {
  margin-top: 46rpx;
}

.mt-13 {
  margin-top: 26rpx;
}

.ml-25 {
  margin-left: 50rpx;
}

.mt-5 {
  margin-top: 10rpx;
}
.mr-5 {
  margin-right: 10rpx !important;
}
.m-r-auto{
  margin-right: auto !important;
}
.color_2a3a6c{
  color:#2a3a6c !important;
}
.color_666{
  color:#666 !important;
}
.main_title{
  margin-bottom: 20rpx;
  font-size: 38rpx;
}
.page {
  background-color: #f8f8f8;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100vh;

  .group {
    padding-bottom: 10rpx;

    .section {
      padding: 24rpx 12rpx 8rpx 32rpx;
      background-image: linear-gradient(171.1deg, #ea602d47 0%, #ea602d47 -14.46%, #ea602d00 46.78%, #ea602d00 100%);

      .self-stretch {
        padding-bottom: 8rpx;
        width: 100%;
        margin-top: 150rpx;

        /* 顶部导航 */
        .header {
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 10rpx 15rpx;
          background-color: #fff;
          border-bottom: 1rpx solid #eee;
        }

        .nav-tabs {
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .nav-item {
          display: grid;
          padding: 8rpx 12rpx;
          margin-right: 10rpx;
          color: #666;
          position: relative;
          text-align: center;
          font-size: 40rpx;
          .text {
            font-size: 26rpx;
            padding-top: 10rpx;
          }
        }

        .nav-item.active {
          color: #1a73e8;
          font-weight: bold;
        }

        .club-tag {
          background-color: #1a73e8;
          color: white;
          padding: 3rpx 8rpx;
          border-radius: 4rpx;
          font-size: 12rpx;
        }

        /* 主广告 */
        .banner {
          margin: 10rpx;
          border-radius: 8rpx;
          overflow: hidden;
          position: relative;
        }

        .banner image {
          width: 100%;
          height: 100%;
        }

        .banner-text {
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          padding: 15rpx;
          background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
          color: white;
        }

        .banner-title {
          font-size: 22rpx;
          font-weight: bold;
          display: block;
        }

        .banner-subtitle {
          font-size: 16rpx;
          display: block;
          margin-top: 5rpx;
        }

        .banner-promo {
          font-size: 12rpx;
          display: block;
          margin-top: 8rpx;
          color: #ffcc00;
        }

        /* 分类筛选 */
        .category-scroll {
          white-space: nowrap;
          padding: 10rpx 0rpx;
          background-color: #fff;
        }

        .category-tabs {
          display: flex;
          justify-content: center;
          align-items: center;
        }

        .tab-item {
          display: inline-block;
          padding: 6rpx 25rpx;
          margin-right: 8rpx;
          background-color: #f5f5f5;
          border-radius: 8rpx;
          color: #161616;
        }
        .tab-item-right {
          padding: 6rpx 5rpx;
          margin-right: 0rpx;
        }
        .bg_color_tr {
          background-color: transparent;
        }
        .tab-item.active {
          background-color: #1a73e8;
          color: white;
        }

        /* 赛事列表 */
        .event-list {
          padding: 0 15rpx;
        }

        .event-card {
          background-color: #fff;
          border-radius: 8rpx;
          padding: 15rpx;
          margin-bottom: 12rpx;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .event-header {
          display: flex;
          justify-content: space-between;
          margin-bottom: 10rpx;
          .event_bg {
            height: 200rpx;
            width: 100%;
            border-radius: 20rpx 20rpx 0 0;
          }
        }

        .event-tag {
          background-color: #ff4d4f;
          color: white;
          padding: 2rpx 8rpx;
          border-radius: 4rpx;
          font-size: 12rpx;
        }

        .event-compare {
          color: #1a73e8;
          font-size: 12rpx;
        }

        .event-title {
          font-size: 26rpx;
          font-weight: bold;
          margin-bottom: 12rpx;
        }

        .event-info {
          display: flex;
          color: #666;
          font-size: 20rpx;
          margin: 20rpx 0rpx;
          .event-info-value {
            margin-left: 20rpx;
          }
        }

        .event-type {
          color: #1a73e8;
        }

        .distance {
          display: flex;

          .distance_text {
            color: #1a73e8;
            margin-left: 10rpx;
          }
        }

        /* 已结束赛事 */
        .section-title {
          padding: 15rpx 15rpx 10rpx;
          font-size: 16rpx;
          font-weight: bold;
        }

        .ended-events {
          display: flex;
          padding: 0 15rpx;
          overflow-x: auto;
        }

        .ended-event-item {
          width: 120rpx;
          height: 80rpx;
          margin-right: 10rpx;
          border-radius: 6rpx;
          overflow: hidden;
          flex-shrink: 0;
        }

        .ended-event-item image {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}